package com.zjtaixue.o2o.enums;

import lombok.Getter;

@Getter
public enum  ShopStatusEnum {
    CHECK(0,"审核中"),
    OFFLINE(-1,"下线"),
    SUCCESS(1,"操作成功"),
    PASS(2,"通过认证"),
    INNER_ERROR(-1001,"内部系统错误"),
    NULL_SHOP_ID(-1002,"SHOP_ID为空"),
    NULL_SHOP(-1003,"店铺信息为空"),
    SHOP_NAME_IS_RIGISTER(-1004,"店铺名已经被注册"),
    SHOP_RIGITER_FAILD(-1005,"店铺注册失败"),
    SHOP_IMAGE_INSERT_FAILD(-1006,"店铺图片插入失败"),
    SHOP_IMAGE_ADDRESS_UPDATE_FAILD(-1007,"店铺图片地址更新失败"),
    SHOP_OPERATION_ERROR(-1008,"店铺操作异常")

    ;

    private int code;
    private String msg;

    private ShopStatusEnum(int code ,String msg){
        this.code=code;
        this.msg=msg;
    }
}
